var EditableLabel = {
	StartEdit:function(obj){
		var el = $(obj.Label);
		el.contentEditable = true;
		el.style.cssText = obj.EditStyleString;
		el.className = obj.EditClassName;
		var con = $(obj.Panel);
		con.style.display = "";
		
	},
	SaveEdit:function(obj){
		var con = $(obj.Panel);
		con.style.display = "none";
		var l = $(obj.Label);
		var h = $(obj.Hidden);
		h.value = l.innerText;
		l.contentEditable = false;
		l.style.cssText = obj.StyleString;
		l.className = obj.ClassName;
	},
	CancelEdit:function(obj){
		var con = $(obj.Panel);
		con.style.display = "none";
		var l = $(obj.Label);
		var h = $(obj.Hidden);
		l.innerText = obj.Text;
		l.contentEditable = false;
		l.style.cssText = obj.StyleString;
		l.className = obj.ClassName;
		
		return false;
	}
};
